import 'package:flutter/material.dart';

class CommonSearchHeader extends StatefulWidget implements PreferredSizeWidget {
  CommonSearchHeader({Key key}) : super(key: key);

  @override
  _CommonSearchHeaderState createState() => _CommonSearchHeaderState();

  @override
  Size get preferredSize => throw UnimplementedError();
}

class _CommonSearchHeaderState extends State<CommonSearchHeader> {
  @override
  Widget build(BuildContext context) {
    return AppBar(
      title: TextField(),
    );
  }
}
